/*  1:   */ package org.jetbrains.debugger;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/*  4:   */
/*  5:   */ 
/*  6:   */ public abstract class ScopeBase
/*  7:   */   implements Scope
/*  8:   */ {
/*  9:   */   private final Scope.Type a;
/* 10:   */   private final String b;
/* 11:   */   
/* 12:   */   protected ScopeBase(@NotNull Scope.Type paramType, @Nullable String paramString)
/* 13:   */   {
/* 14:11 */     this.a = paramType;
/* 15:12 */     this.b = paramString;
/* 16:   */   }
/* 17:   */   
/* 18:   */   @Nullable
/* 19:   */   public String getDescription()
/* 20:   */   {
/* 21:18 */     return this.b;
/* 22:   */   }
/* 23:   */   
/* 24:   */   @NotNull
/* 25:   */   public Scope.Type getType()
/* 26:   */   {
/* 27:24 */     Scope.Type tmp4_1 = this.a;
/* 28:24 */     if (tmp4_1 == null) {
/* 29:24 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/debugger/ScopeBase", "getType" }));
/* 30:   */     }
/* 31:24 */     return tmp4_1;
/* 32:   */   }
/* 33:   */   
/* 34:   */   public final boolean isGlobal()
/* 35:   */   {
/* 36:29 */     return (this.a == Scope.Type.GLOBAL) || (this.a == Scope.Type.LIBRARY);
/* 37:   */   }
/* 38:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.debugger.ScopeBase

 * JD-Core Version:    0.7.0.1

 */